package com.online.teaching.module.teacher.homework.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @ClassName : HomeWorkAddDTO  //类名
 * @Description :   //描述
 * @Author : YG  //作者
 * @Date: 2020-11-04 23:56  //时间
 */
@Data
public class HomeWorkAddDTO {

    @ApiModelProperty(value = "作业标题",required = false)
    @NotNull
    private String homeworkTitle;//作业标题

    @ApiModelProperty(value = "作业内容",required = false)
    @NotNull
    private String homeworkContent;//作业内容

    @ApiModelProperty(value = "ddl",required = false)
    @NotNull
    private Date homeworkDdl;//ddl

    @ApiModelProperty(value = "teaches表id",required = false)
    @NotNull
    private Integer teachesId;//teaches表id

}
